Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: removing extra #member on assignIdentities service call #286

Merged
merged 3 commits into from
Apr 22, 2024

Conversation

shipperizer
Copy link
Contributor

@shipperizer shipperizer commented Apr 22, 2024

closes #283

shipperizer in ~/shipperizer/identity-platform-admin-ui on IAM-847 ● λ http :8000/api/v0/groups/test/identities  X-Authorization:$PRIVILEGED_USER
HTTP/1.1 200 OK
Content-Length: 87
Content-Type: application/json
Date: Mon, 22 Apr 2024 12:33:28 GMT
X-Token-Pagination:

{
    "_meta": null,
    "data": [
        "user:shipperizer"
    ],
    "message": "List of identities",
    "status": 200
}


shipperizer in ~/shipperizer/identity-platform-admin-ui on IAM-847 ● λ http PATCH :8000/api/v0/groups/test/identities identities:='["tom","jerry"]' X-Authorization:$PRIVILEGED_USER
HTTP/1.1 201 Created
Content-Length: 86
Content-Type: application/json
Date: Mon, 22 Apr 2024 12:33:36 GMT

{
    "_meta": null,
    "data": null,
    "message": "Updated identities for group test",
    "status": 201
}


shipperizer in ~/shipperizer/identity-platform-admin-ui on IAM-847 ● λ http :8000/api/v0/groups/test/identities  X-Authorization:$PRIVILEGED_USER
HTTP/1.1 200 OK
Content-Length: 111
Content-Type: application/json
Date: Mon, 22 Apr 2024 12:33:40 GMT
X-Token-Pagination:

{
    "_meta": null,
    "data": [
        "user:shipperizer",
        "user:tom",
        "user:jerry"
    ],
    "message": "List of identities",
    "status": 200
}

shipperizer in ~/shipperizer/identity-platform-admin-ui on IAM-847 ● ● λ http DELETE :8000/api/v0/groups/test/identities/jerry  X-Authorization:$PRIVILEGED_USER
HTTP/1.1 200 OK
Content-Length: 90
Content-Type: application/json
Date: Mon, 22 Apr 2024 14:31:58 GMT

{
    "_meta": null,
    "data": null,
    "message": "Removed identity jerry for group test",
    "status": 200
}

shipperizer in ~/shipperizer/identity-platform-admin-ui on IAM-847 ● ● λ http GET :8000/api/v0/groups/test/identities  X-Authorization:$PRIVILEGED_USER      
HTTP/1.1 200 OK
Content-Length: 98
Content-Type: application/json
Date: Mon, 22 Apr 2024 14:35:35 GMT
X-Token-Pagination:

{
    "_meta": null,
    "data": [
        "user:shipperizer",
        "user:tom"
    ],
    "message": "List of identities",
    "status": 200
}

@shipperizer shipperizer requested a review from a team as a code owner April 22, 2024 12:29
@shipperizer shipperizer enabled auto-merge April 22, 2024 14:35
@shipperizer shipperizer disabled auto-merge April 22, 2024 17:50
@canonical-iam canonical-iam merged commit 2fbf898 into main Apr 22, 2024
6 checks passed
@canonical-iam canonical-iam deleted the IAM-847 branch April 22, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

500 response when adding identities to a group
3 participants